package com.kim.store.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 购物车实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Cart extends BaseEntity implements Serializable {
    private Integer cid; //购物车数据id
    private Integer uid; //用户id
    private Integer pid; //商品id
    private Long price; //加入时商品单价
    private Integer num; //商品数量
}
